/*
 * Copyright (C) 2012-2017 zhuoyue soft Co., Ltd
 * All copyrights reserved by zhuoyue.
 * Any copying, transferring or any other usage is prohibited.
 * Or else, zhuoyue possesses the right to require legal 
 * responsibilities from the violator.
 * All third-party contributions are distributed under license by
 * zhuoyue soft Co., Ltd.
 */
package org.ouniao.jprint.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 
 * @author tiny
 *
 */
@SpringBootApplication(scanBasePackages = {"org.ouniao.jprint.server"})
@PropertySources({@PropertySource("classpath:activemq.properties")})
@EnableCaching
@EnableScheduling
public class ServerBootstrap {

	public static void main(String[] args) {
		Object[] sources = new Object[]{ServerBootstrap.class};
		SpringApplication.run(sources, args);
	}

}
